package com.example;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.net.MalformedURLException;
public class Server {
	public static void main ( String[] args ) throws RemoteException, MalformedURLException {
		//
		// Create a new example object and enter it into the RMI registry
		// located on "localhost" under the alias "Example"
		ExampleServer es = new ExampleServer();
		Naming.rebind( "rmi://localhost/Example", es );
		}
}
